/**
 * 发货单据默认模版
 */

export default {
    type: 'send-bill-temp',
    value: 'sendBillTemp',
    name: '发货单据默认模版',
    temp: {
        panels: [
            {
                "index": 0,
                "name": 1,
                "height": 296.6,
                "width": 210,
                "paperHeader": 79.5,
                "paperFooter": 732,
                "printElements": [
                    {
                        "options": {
                            "left": 192,
                            "top": 7.5,
                            "height": 17,
                            "width": 120,
                            "field": "titleName",
                            "testData": "傲视易用",
                            "fontSize": 16.5,
                            "fontWeight": "700",
                            "lineHeight": 17,
                            "textAlign": "right",
                            "hideTitle": true,
                            "title": "公司",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "qrCodeLevel": 0
                        },
                        "printElementType": {
                            "title": "公司",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 312,
                            "top": 7.5,
                            "height": 17,
                            "width": 120,
                            "field": "headerName",
                            "testData": "发货单据",
                            "fontSize": 16.5,
                            "fontWeight": 700,
                            "lineHeight": 17,
                            "textAlign": "left",
                            "hideTitle": true,
                            "title": "单据抬头"
                        },
                        "printElementType": {
                            "title": "单据抬头",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 7.5,
                            "height": 20,
                            "width": 20,
                            "field": "titleLog",
                            "fit": "contain",
                            "hideTitle": true,
                            "coordinateSync": false,
                            "widthHeightSync": false
                        },
                        "printElementType": {
                            "title": "单据logo",
                            "type": "image"
                        }
                    },
                    {
                        "options": {
                            "left": 163.5,
                            "top": 33,
                            "height": 16,
                            "width": 120,
                            "field": "voucheDate",
                            "testData": "2024-08-29",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "发货日期",
                            "formatter": "function (title, value, options, templateData, target, paperNo) {\n        return value ? value.substring(0, 10) : value;\n      }"
                        },
                        "printElementType": {
                            "title": "发货日期",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 312,
                            "top": 33,
                            "height": 16,
                            "width": 120,
                            "field": "driverName",
                            "testData": "发货司机",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "发货司机"
                        },
                        "printElementType": {
                            "title": "发货司机",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 462,
                            "top": 33,
                            "height": 16,
                            "width": 120,
                            "field": "workerJson",
                            "testData": "装车工人",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "装车工人"
                        },
                        "printElementType": {
                            "title": "装车工人",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 33,
                            "height": 16,
                            "width": 120,
                            "field": "voucheCode",
                            "testData": "XS888888888",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "单据编号"
                        },
                        "printElementType": {
                            "title": "单据编号",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 163.5,
                            "top": 57,
                            "height": 16,
                            "width": 120,
                            "field": "barcodeWorkerJson",
                            "testData": "条码工人",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "条码工人"
                        },
                        "printElementType": {
                            "title": "条码工人",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 312,
                            "top": 57,
                            "height": 16,
                            "width": 120,
                            "field": "otherCharges",
                            "testData": 0,
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "其他费用"
                        },
                        "printElementType": {
                            "title": "其他费用",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 462,
                            "top": 57,
                            "height": 16,
                            "width": 120,
                            "field": "updatedTime",
                            "testData": "操作日期",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "操作日期"
                        },
                        "printElementType": {
                            "title": "操作日期",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 57,
                            "height": 16,
                            "width": 120,
                            "field": "stockWorkerJson",
                            "testData": "备货工人",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "备货工人"
                        },
                        "printElementType": {
                            "title": "备货工人",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 88.5,
                            "height": 106.5,
                            "width": 567,
                            "tableFooterRepeat": "page",
                            "fields": [
                                {
                                    "text": "序号",
                                    "field": "index"
                                },
                                {
                                    "text": "仓库",
                                    "field": "wareHouseName"
                                },
                                {
                                    "text": "生产号",
                                    "field": "batchNo"
                                },
                                {
                                    "text": "产品规格",
                                    "field": "goodsSpecName"
                                },
                                {
                                    "text": "货位",
                                    "field": "cargoSpaceName"
                                },
                                {
                                    "text": "体积",
                                    "field": "volume"
                                },
                                {
                                    "text": "存货类别",
                                    "field": "categoryName"
                                },
                                {
                                    "text": "客户",
                                    "field": "partnerName"
                                },
                                {
                                    "text": "销售号",
                                    "field": "saleSerialCode"
                                },
                                {
                                    "text": "单位",
                                    "field": "unit"
                                },
                                {
                                    "text": "特价",
                                    "field": "isOnSaleName"
                                },
                                {
                                    "text": "订货号",
                                    "field": "orderSerialCode"
                                },
                                {
                                    "text": "供应型号",
                                    "field": "goodsModel"
                                },
                                {
                                    "text": "条码费",
                                    "field": "barcodeCharges"
                                },
                                {
                                    "text": "存货类型",
                                    "field": "goodsTypeName"
                                },
                                {
                                    "text": "存货",
                                    "field": "goodsName"
                                },
                                {
                                    "text": "重量",
                                    "field": "weight"
                                },
                                {
                                    "text": "规格",
                                    "field": "specName"
                                },
                                {
                                    "text": "颜色",
                                    "field": "colourName"
                                },
                                {
                                    "text": "标准",
                                    "field": "standard"
                                },
                                {
                                    "text": "方向",
                                    "field": "direction"
                                },
                                {
                                    "text": "尺寸",
                                    "field": "size"
                                },
                                {
                                    "text": "总件数",
                                    "field": "totalNum"
                                },
                                {
                                    "text": "系数",
                                    "field": "ratio"
                                },
                                {
                                    "text": "件数",
                                    "field": "num"
                                },
                                {
                                    "text": "数量",
                                    "field": "qty"
                                },
                                {
                                    "text": "物流单号",
                                    "field": "trackingNum"
                                },
                                {
                                    "text": "备注",
                                    "field": "remark"
                                },
                                {
                                    "text": "装车费",
                                    "field": "loadCharges"
                                },
                                {
                                    "text": "物流电话",
                                    "field": "phone"
                                },
                                {
                                    "text": "物流",
                                    "field": "company"
                                },
                                {
                                    "text": "运费",
                                    "field": "freightCharges"
                                },
                                {
                                    "text": "物流区域",
                                    "field": "areaName"
                                },
                                {
                                    "text": "发货地址",
                                    "field": "deliveryAddress"
                                },
                                {
                                    "text": "收货地址",
                                    "field": "receiveAddress"
                                },
                                {
                                    "text": "审核备注",
                                    "field": "auditRemark"
                                },
                                {
                                    "text": "收货人",
                                    "field": "receiver"
                                },
                                {
                                    "text": "收货电话",
                                    "field": "mobile"
                                },
                                {
                                    "text": "订单备注1",
                                    "field": "orderRemark1"
                                },
                                {
                                    "text": "订单备注2",
                                    "field": "orderRemark2"
                                },
                                {
                                    "text": "订单注释",
                                    "field": "orderRemark3"
                                },
                                {
                                    "text": "合同号",
                                    "field": "contractNo"
                                },
                                {
                                    "text": "订货日期",
                                    "field": "orderVoucheDate"
                                }
                            ],
                            "field": "details",
                            "tableHeaderRepeat": "page",
                            "coordinateSync": false,
                            "widthHeightSync": false,
                            "tableBorder": "border",
                            "tableHeaderBorder": "border",
                            "tableHeaderCellBorder": "border",
                            "tableBodyRowBorder": "border",
                            "tableBodyCellBorder": "border",
                            "tableFooterBorder": "border",
                            "tableFooterCellBorder": "border",
                            "tableHeaderFontWeight": "700",
                            "footerFormatter": "function (options, rows, data, currentPageGridRowsData) {\n        if (data && data['totalAmount']) return `<td colspan=\"100\">大写金额: ${data.totalAmount}</td>`;\n        return `<td colspan=\"100\">大写金额: </td>`;\n      }",
                            "columns": [
                                [
                                    {
                                        "width": 36.30736392742796,
                                        "title": "生产号",
                                        "field": "batchNo",
                                        "checked": true,
                                        "columnId": "batchNo",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 40.84578441835647,
                                        "title": "客户",
                                        "field": "partnerName",
                                        "checked": true,
                                        "columnId": "partnerName",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 40.650034418356476,
                                        "title": "存货",
                                        "field": "goodsName",
                                        "checked": true,
                                        "columnId": "goodsName",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 22.887852454642466,
                                        "title": "数量",
                                        "titleSync": false,
                                        "field": "qty",
                                        "checked": true,
                                        "columnId": "qty",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "halign": "center",
                                        "tableQRCodeLevel": 0,
                                        "tableSummaryTitle": false,
                                        "tableSummary": "sum",
                                        "tableSummaryNumFormat": "2"
                                    },
                                    {
                                        "width": 22.692102454642466,
                                        "title": "件数",
                                        "field": "num",
                                        "checked": true,
                                        "columnId": "num",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 22.692102454642466,
                                        "title": "件数",
                                        "titleSync": false,
                                        "field": "totalNum",
                                        "checked": true,
                                        "columnId": "totalNum",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "halign": "center",
                                        "tableQRCodeLevel": 0,
                                        "tableSummaryTitle": false,
                                        "tableSummary": "sum",
                                        "tableSummaryNumFormat": "2"
                                    },
                                    {
                                        "width": 36.30736392742796,
                                        "title": "运费",
                                        "field": "freightCharges",
                                        "checked": true,
                                        "columnId": "freightCharges",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "halign": "center",
                                        "tableSummaryTitle": false,
                                        "tableSummary": "sum",
                                        "tableSummaryNumFormat": 2
                                    },
                                    {
                                        "width": 36.30736392742796,
                                        "title": "装车费",
                                        "field": "loadCharges",
                                        "checked": true,
                                        "columnId": "loadCharges",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "halign": "center",
                                        "tableSummaryTitle": false,
                                        "tableSummary": "sum",
                                        "tableSummaryNumFormat": 2
                                    },
                                    {
                                        "width": 40.84578441835647,
                                        "title": "条码费",
                                        "field": "barcodeCharges",
                                        "checked": true,
                                        "columnId": "barcodeCharges",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "center",
                                        "halign": "center",
                                        "tableSummaryTitle": false,
                                        "tableSummary": "sum",
                                        "tableSummaryNumFormat": 2
                                    },
                                    {
                                        "width": 36.30736392742796,
                                        "title": "物流单号",
                                        "field": "trackingNum",
                                        "checked": true,
                                        "columnId": "trackingNum",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 39.03041622198505,
                                        "title": "物流电话",
                                        "field": "phone",
                                        "checked": true,
                                        "columnId": "phone",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 54.461045891141936,
                                        "title": "发货地址",
                                        "field": "deliveryAddress",
                                        "checked": true,
                                        "columnId": "deliveryAddress",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 60.51227321237994,
                                        "title": "收货地址",
                                        "field": "receiveAddress",
                                        "checked": true,
                                        "columnId": "receiveAddress",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 40.84578441835647,
                                        "title": "收货人",
                                        "field": "receiver",
                                        "checked": true,
                                        "columnId": "receiver",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    },
                                    {
                                        "width": 36.30736392742796,
                                        "title": "收货电话",
                                        "field": "mobile",
                                        "checked": true,
                                        "columnId": "mobile",
                                        "fixed": false,
                                        "rowspan": 1,
                                        "colspan": 1,
                                        "align": "left",
                                        "halign": "center"
                                    }
                                ]
                            ]
                        },
                        "printElementType": {
                            "title": "单据明细",
                            "type": "table",
                            "editable": true,
                            "columnDisplayEditable": true,
                            "columnDisplayIndexEditable": true,
                            "columnTitleEditable": true,
                            "columnResizable": true,
                            "columnAlignEditable": true,
                            "isEnableEditField": true,
                            "isEnableContextMenu": true,
                            "isEnableInsertRow": true,
                            "isEnableDeleteRow": true,
                            "isEnableInsertColumn": true,
                            "isEnableDeleteColumn": true,
                            "isEnableMergeCell": true
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 742.5,
                            "height": 17,
                            "width": 567,
                            "field": "remark",
                            "testData": "备注",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "title": "备注"
                        },
                        "printElementType": {
                            "title": "备注",
                            "type": "longText"
                        }
                    },
                    {
                        "options": {
                            "left": 163.5,
                            "top": 769.5,
                            "height": 16,
                            "width": 120,
                            "field": "auditorName",
                            "testData": "审核人",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "审核人"
                        },
                        "printElementType": {
                            "title": "审核人",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 312,
                            "top": 769.5,
                            "height": 16,
                            "width": 120,
                            "field": "auditorTime",
                            "testData": "审核日期",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "审核日期"
                        },
                        "printElementType": {
                            "title": "审核日期",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 462,
                            "top": 769.5,
                            "height": 16,
                            "width": 120,
                            "field": "doorkeeper",
                            "testData": "门卫",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "门卫"
                        },
                        "printElementType": {
                            "title": "门卫",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 769.5,
                            "height": 16,
                            "width": 120,
                            "field": "createdName",
                            "testData": "制单人",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "borderBottom": "solid",
                            "title": "制单人"
                        },
                        "printElementType": {
                            "title": "制单人",
                            "type": "text"
                        }
                    },
                    {
                        "options": {
                            "left": 15,
                            "top": 795,
                            "height": 17,
                            "width": 567,
                            "field": "sendBottom",
                            "testData": "底部信息",
                            "fontSize": 6.75,
                            "textAlign": "left",
                            "textContentVerticalAlign": "middle",
                            "title": "底部信息"
                        },
                        "printElementType": {
                            "title": "底部信息",
                            "type": "longText"
                        }
                    }
                ],
                "paperNumberLeft": 565,
                "paperNumberTop": 819,
                "paperNumberContinue": true,
                "paperNumberFormat": "${paperNo}/${paperCount}",
                "overPrintOptions": {},
                "watermarkOptions": {}
            }
        ]
    }
}
